package edu.pku.sei.transformation.modelType;

import edu.pku.sei.mdabase.core.INamedElement;
import edu.pku.sei.mdabase.infrastructure.metamodel.MetaModelGraph;

public class ModelType implements INamedElement{
	private MetaModelGraph metamodel;
	
	// modeltype = metamodel + constraints

	public MetaModelGraph getMetamodel() {
		return metamodel;
	}

	public void setMetamodel(MetaModelGraph metamodel) {
		this.metamodel = metamodel;
		metamodel.setHost(this);
	}

	private String name;
	@Override
	public String getName() {
		return name;
	}

	@Override
	public void setName(String name) {
		this.name=name;
	}

}
